var x : string = '{"result":true, "count":42}';
var x1 : any = JSON.parse (x);
console.log (x1);
var x2 : string = JSON.stringify (x1);
console.log (x2);
